package com.jingdun.sport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingdun.sport.bean.model.ListTypesResponse;
import com.jingdun.sport.bean.model.NewSportConfig;
import com.jingdun.sport.common.util.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SportConfigMapper extends BaseMapper<NewSportConfig> {


    List<ListTypesResponse> getListTypes(@Param("pageParam") PageParam pageParam);

    NewSportConfig getChildByCategory(@Param("sportCategory") int sportCategory);
}
